﻿using Microsoft.EntityFrameworkCore;
using SeckillService.Model;
using Volo.Abp.EntityFrameworkCore;

namespace SeckillService.Data;

public class SeckillServiceDbContext : AbpDbContext<SeckillServiceDbContext>
{
    public SeckillServiceDbContext(DbContextOptions<SeckillServiceDbContext> options)
        : base(options)
    {

    }

    public DbSet<Seckill> seckills { get; set; }

    protected override void OnModelCreating(ModelBuilder builder)
    {
        base.OnModelCreating(builder);

        /* Include modules to your migration db context */


        /* Configure your own entities here */
    }
}
